package com.xoa.model.template;

public class TemplateModule {

    // 主键
    private Integer id;

    // 模板名称
    private String name;

    // 模板类型(office或者html)
    private String type;

    // 用户权限
    private String privUser;

    // 用户权限名称
    private String privUserName;

    // 部门权限
    private String privOrg;

    // 部门权限名称
    private String privOrgName;

    // 角色权限
    private String privRole;
    // 角色权限名称
    private String privRoleName;

    // 模板类型(在sys_code中对应的类型)
    private String categoryId;

    // 模板类型名称
    private String categoryName;

    //创建时间
    private Integer createTime;

    // 创建用户uid
    private Integer createUser;

    // 模板保存的路径地址
    private String attUrl;

    private String attachmentId;


    private String attachmentName;


    public Integer getId() {
        return id;
    }


    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }


    public String getType() {
        return type;
    }


    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }


    public String getPrivUser() {
        return privUser;
    }


    public void setPrivUser(String privUser) {
        this.privUser = privUser == null ? null : privUser.trim();
    }


    public String getPrivOrg() {
        return privOrg;
    }


    public void setPrivOrg(String privOrg) {
        this.privOrg = privOrg == null ? null : privOrg.trim();
    }


    public String getPrivRole() {
        return privRole;
    }


    public void setPrivRole(String privRole) {
        this.privRole = privRole == null ? null : privRole.trim();
    }


    public String getCategoryId() {
        return categoryId;
    }


    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId == null ? null : categoryId.trim();
    }


    public Integer getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }


    public Integer getCreateUser() {
        return createUser;
    }


    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }


    public String getAttUrl() {
        return attUrl;
    }

    public void setAttUrl(String attUrl) {
        this.attUrl = attUrl == null ? null : attUrl.trim();
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getPrivUserName() {
        return privUserName;
    }

    public void setPrivUserName(String privUserName) {
        this.privUserName = privUserName;
    }

    public String getPrivOrgName() {
        return privOrgName;
    }

    public void setPrivOrgName(String privOrgName) {
        this.privOrgName = privOrgName;
    }

    public String getPrivRoleName() {
        return privRoleName;
    }

    public void setPrivRoleName(String privRoleName) {
        this.privRoleName = privRoleName;
    }

    public String getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(String attachmentId) {
        this.attachmentId = attachmentId;
    }

    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }
}